package com.wayeal.recheck.util;

import com.wayeal.cloud.sourcelog.constant.Prefix;

/**
 * @author jian
 * @version 2021-08-10 15:49
 */
public class KeyUtil {

    public static String getKey(String point,String type){
        String key=null;
        if (Prefix.TYPE_SEND.equals(type)){
            key=Prefix.SEND_PREFIX+point;
        }
        if (Prefix.TYPE_RES.equals(type)){
            key=point;
        }
        return key;
    }
}
